﻿@model LayuiMvc.DataModel.Identity.UserMsgModel

<div class="layui-container fly-marginTop">
    <div class="fly-panel fly-panel-user">
        <!--Tab选项卡-->
        <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title">
                <li>
                    <a href="@Url.Action("UserSet")">我的资料</a>
                </li>
                <li class="layui-this">
                    头像
                </li>
                <li>
                    <a href="@Url.Action("UpdatePassword")">密码</a>
                </li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <div class="layui-form-item">
                        <div class="avatar-add">
                            <p>建议尺寸168*168，支持jpg、png、gif，最大不能超过500KB</p>
                            <button type="button" class="layui-btn upload-img" id="btn_Upload">
                                <i class="layui-icon">&#xe67c;</i>上传头像
                            </button>
                            <img id="img_HeadImg" src="@Model.HeadImgUrl"  />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    layui.cache.module={
        moduleName:'account',
        pageName:'updateHeadImg'
    }
</script>
